package com.example.consumer_order_ribbon_custom.Config;

import com.example.customRibbon.CustomRibbonConfiguration;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.context.annotation.Configuration;

@Configuration
/**
 * name = "provider-user" 为虚拟ip
 * configuration = CustomRibbonConfiguration.class 为用哪个类做策略
 * */
@RibbonClient(name = "provider-user",configuration = CustomRibbonConfiguration.class)
public class MyRibbonConfiguration {
}
